/*============================================================================
 PROJECT: Talklife
 FILE:    RichTextView.h
 AUTHOR:  Khoai Nguyen
 DATE:    7/5/13
 =============================================================================*/

/*============================================================================
 IMPORT
 =============================================================================*/
#import "APLSimpleCoreTextView.h"


/*============================================================================
 MACRO
 =============================================================================*/
typedef enum {
    RTContentAlignmentVerticalCenter,
    RTContentAlignmentVerticalTop,
    RTContentAlignmentVerticalBottom
} RTContentAlignment;

/*============================================================================
 PROTOCOL
 =============================================================================*/

/*============================================================================
 Interface:   RichTextView
 =============================================================================*/

@interface RichTextView : APLSimpleCoreTextView
@property (nonatomic, assign) NSTextAlignment textAlignment;
@property (nonatomic, strong) UIColor *defaultColor;
@property (nonatomic) CGFloat spaceBetweenLines;
@property (nonatomic) UILineBreakMode lineBreakMode;
@property (nonatomic) RTContentAlignment contentAlignment;
@property (nonatomic) CGFloat textKerning;
@property (nonatomic) NSInteger numberOfLines;
@property (nonatomic, strong) NSString *truncationTokenString;

@end
